|
|
"Tek" <tek### [at] evilsuperbraincom> wrote:
> I've put some textures onto the city scape
very nice ....
> ...And while I'm here, I want to pick your brains: Can anyone come up with a
> pigment that is perpendicular to crackle? i.e. it has it's junctions in the
> centre of crackle's points, and it's points on crackle's junctions. Or am I > just
talking crazy talk?
Ahh ... you want some roofes on the top of the buildings ?
so you want the gradient of the pattern ?
just an idea, something like (please debug):
function crk_gr_x(x,y,z,a) {
(f_crackle(x,y,z)+f_crackle(x+a,y,z))/a
}
function crk_gr_y(x,y,z,a) {
(f_crackle(x,y,z)+f_crackle(x,y+a,z))/a
}
function crk_gr_z(x,y,z,a) {
(f_crackle(x,y,z)+f_crackle(x,y,z+a))/a
}
function crk_gr_l(x,y,z,a) {
sqrt(
crk_gr_x(x,y,z,a)^2+
crk_gr_y(x,y,z,a)^2+
crk_gr_z(x,y,z,a)^2)
}
Post a reply to this message
|
|